{% extends "index.html" %}

{% block main %}
<h2 class="pos-top">用户名: {{ name }}</h2>
<h4 class="pos-top">班级: <a href="/class/{{cls}}">{{ clsName }}</a></h4>
<p class="pos-top">权限: {{ auth|auth2str }}</p>
{% if auth // 4 > 1 %}
<div class="table-responsive pos-top">
    <table class="table table-striped">
      <thead class="thead-light">
        <tr>
          <th scope="col">#</th>
          <th scope="col">校内义工</th>
          <th scope="col">校外义工</th>
          <th scope="col">大型时间</th>
        </tr>
      </thead>
      <tbody style="background-color:white">
        <tr>
          <th scope="row">单位: 分</th>
          <td>{{ inside }}</td>
          <td>{{ outside }}</td>
          <td>{{ large }}</td>
        </tr>
      </tbody>
    </table>
</div>
<h5 class="pos-top">参加过的义工:</h5>

{% endif %}
<h5 class="pos-top">举办过的义工:</h5>
{% endblock %}